package com.bitejiuyeke.job_publish.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@NoArgsConstructor
public class Major {
    private Long id;

    private Long collegeId;

    private String name;

    @JsonIgnore
    private Byte state;

    @JsonIgnore
    private Byte deleteState;

    @JsonIgnore
    private Date createTime;

    @JsonIgnore
    private Date updateTime;

    // 关联的院系
    private College college;

}